package cn.fintecher.pangolin.service.manage.request;

import cn.fintecher.pangolin.common.enums.BaseStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Auther: xiaqun
 * @Description: 修改委托方请求
 * @Date: 10:37 2019/8/15
 */

@Data
public class ModifyPrincipalRequest {
    @ApiModelProperty(value = "委托方ID")
    @NotNull(message = "principal.id.is.required")
    private String id;

    @ApiModelProperty(value = "名称")
    @NotNull(message = "principal.name.is.required")
    private String name;

    @ApiModelProperty(value = "状态")
    @NotNull(message = "principal.status.is.required")
    private BaseStatus status;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "备注")
    private String remark;
}
